package com.wuwei.elearning.question.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author wuwei
 * @since 2024-02-01
 */
@Data
public class Chapter implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 章节名称，如M5.1.2.1发动机工作	状态
     */
    private String name;

    /**
     * 关联的课程名称
     */
    @ExcelIgnore
    private Long subjectId;

}
